package com.team11.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AdminLogin对象",description = "")
public class C_T_S_information implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "班级id")
    @TableId(value = "c_id", type = IdType.AUTO)
    private Integer cId;

    @ApiModelProperty(value = "院系")
    @TableField("c_department")
    private String cDepartment;

    @ApiModelProperty(value = "专业")
    @TableField("c_major")
    private String cMajor;

    @ApiModelProperty(value = "年级")
    @TableField("c_grade")
    private String cGrade;

    @ApiModelProperty(value = "班级")
    @TableField("c_class")
    private String cClass;

    @ApiModelProperty(value = "班主任(教师id)")
    @TableField("t_id")
    private Integer tId;

    @ApiModelProperty(value = "教师信息")
    @TableField(exist = false)
    private TInformation tInformation;

    @ApiModelProperty(value = "学员总数")
    @TableField("c_stu_number")
    private Integer cStuNumber;

    @ApiModelProperty(value = "是否结业")
    @TableField("c_state")
    private Integer cState;


    @ApiModelProperty(value = "教师姓名")
    @TableField("t_name")
    private String tName;

    @ApiModelProperty(value = "教师工号")
    @TableId(value = "t_job_number", type = IdType.AUTO)
    private String tJobNumber;


}
